/*
 * CSVReader.hpp
 *
 *  Created on: 29 May 2012
 *      Author: rveitch
 */

#ifndef CSVREADER_HPP_
#define CSVREADER_HPP_

#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <vector>

class CSVReader
{
    std::ifstream *csv;

public:
    CSVReader(std::string filename);
    virtual ~CSVReader();

    std::vector<std::string> readLine();
    std::vector<int> readLineInts();
    int str2int(std::string);
    bool eof();
};

#endif /* CSVREADER_HPP_ */
